package luccy.image;

import luccy.annotations.Component;

@Component
public class Bar {

	private Foo foo;

	private Foo foo2;

	@FooInject
	public void setFoo(Foo foo) {
		this.foo = foo;
	}

	@FooInject(FooImpl2.class)
	public void setFoo2(Foo foo2) {
		this.foo2 = foo2;
	}

	public String getS1() {
		return foo.getS();
	}

	public String getS2() {
		return foo2.getS();
	}

}
